Skip to content
Senghak Rou
All projects

Artificial Intelligence · Nov 2026

AI & Democracy · Scoring parliamentary speeches

Hackathon on AI and democracy: estimating the valence and arousal of parliamentary speeches with no training labels, by weak supervision, under a no-pretrained-models rule.

Status
CompletedFour-day competition, 27–30 November 2026.
Setting
Team project (6)Hi! PARIS Hi!ckathon #7, AI & Democracy (HEC Paris and Institut Polytechnique de Paris), group 61
My role
Weak-supervision method, leakage audit, experiment code and the arousal model of the final submission.
Methods and tools
Python · scikit-learn · LightGBM · pandas · NumPy

0.59

Arousal score of the final submission (Lin's CCC, interim leaderboard)

From my score-based stack; valence 0.36

21.5 %

Training rows with an exact duplicate text, found in the audit

Led the team to group validation folds by text

Overview

The task was to score the emotional valence (negative to positive) and arousal (calm to agitated) of about 1.2 million speeches from five parliaments. No training labels were provided, and the rules banned pre-trained models and AutoML. Predictions were scored on a hidden subset by Lin's concordance correlation coefficient (CCC), with ten leaderboard uploads.

Approach

Without labels, we built a proxy target from simple, interpretable rules, trained models to reproduce it from other features, and compared candidate submissions on the interim leaderboard. The semantic student used ridge regression on hashed word TF-IDF and 50 supplied GloVe features. Each speech’s dictionary coverage determined its training weight.

Weak supervision and arousal stacking Linguistic signals provide a proxy for weighted ridge on words and supplied embeddings. Two LightGBM submissions and the student's predictions enter a score-informed stack. Earlier interim scores inform weights and calibration. speeches proxy target rank and average linguistic signals weighted ridge words + supplied embeddings two LightGBM scores earlier submissions stack + rescale arousal score earlier leaderboard scores
Figure 1 · SchematicHow the team combined lexical evidence, a semantic student and earlier leaderboard feedback for the arousal track.

Lin's CCC is the correlation multiplied by a penalty for a wrong mean or spread:

CCC=ρ⋅2v1+v2+u2,v=σy^σy,u=μy^−μyσy.\mathrm{CCC} = \rho \cdot \frac{2v}{1 + v^2 + u^2}, \qquad v = \frac{\sigma_{\hat y}}{\sigma_y},\quad u = \frac{\mu_{\hat y} - \mu_y}{\sigma_y}.

Shrinking predictions towards the mean, as squared-error models do, therefore costs score, so the final scores were rescaled to a chosen mean and spread.

Results and audit

The final submission scored 0.36 for valence and 0.59 for arousal on the interim leaderboard. Before modelling, an audit of the team's reference pipeline found that 21.5 % of training rows had an exact textual duplicate, so ordinary cross-validation scores were optimistic. The team then grouped validation folds by text. Cross-validation can only show how well a model reproduces the proxy. Only scores against hidden labels address agreement with the competition target.

Arousal scores on the interim leaderboard

Lin's CCC of each uploaded file on the arousal track, as displayed (two decimals). Higher is better.

-0.4-0.200.20.40.6Lin's concordance correlation (arousal)Score-based stack (final)sub_05_stack: arousal CCC 0.590.59Combined, matched momentssub_08_combined_matched: arousal CCC 0.470.47Combined compositessub_04_combined: arousal CCC 0.450.45Reference LightGBMsub03_lgbm: arousal CCC 0.360.36First team filesub01: arousal CCC 0.310.31Proxy student (text)sub_04_semantic: arousal CCC 0.210.21Alternative LightGBMsub02_lgbm: arousal CCC -0.15−0.15
Data table
FileDescriptionArousal CCC
sub_05_stackScore-based stack (final)0.59
sub_08_combined_matchedCombined, matched moments0.47
sub_04_combinedCombined composites0.45
sub03_lgbmReference LightGBM0.36
sub01First team file0.31
sub_04_semanticProxy student (text)0.21
sub02_lgbmAlternative LightGBM-0.15
Figure 2 · Experimental resultThe stack weighted earlier files by their leaderboard scores and their correlations with each other. It gave the file that scored −0.15 a negative weight, predicted 0.56 before upload and scored 0.59.Source: docs/EXPERIMENTS.md, sections 7d, 10 and 11 (repository commit 8595e33). Files without a recorded arousal score are omitted.

The submitted file used calibrated LightGBM v4 valence and stacked arousal predictions from two LightGBM versions and the semantic student. Both the stacking weights and the target moments drew on earlier leaderboard feedback. The interim scores therefore describe an adaptively selected file. The repository records no final ranking.

What can be reproduced

The assessment script distinguishes inference with fitted bundles from training a smaller 10,000-row example. The public model directory contains only a placeholder. Reproducing the submitted vector requires the original bundles, data and calibration conditions. Grouped folds test agreement with a proxy, and the feature scaling and proxy references used data outside each fold.

Individual contribution

Oct – Nov 2026Completed

VisualDoc AI

Ask a question about a PDF and inspect the page behind the answer. VisualDoc reads page images, searches text and checks quoted evidence so a reader can trace a number back to its table.

Artificial Intelligence · Individual · Python, ColQwen2, PyMuPDF

Oct 2025 – May 2026Completed

Conversational Text-to-SQL

An assistant translates business questions into read-only SQL. A 100-question baseline study exposed a practical failure: a query can run successfully and still return the wrong result.

Artificial Intelligence · Team of 4 · Python, LangGraph, LangChain