The short answer
Under the online data rule that InfoMiner Election Lab (LargitData) archived after vote counting and before comparing against the results, the 2026 Taichung mayoral flip could not be detected. The research team already knew Taichung had flipped when drafting the rule; archiving it first was meant to prevent modifying the rule after seeing the comparison results. This study pairs preliminary vote tallies from Taiwan's Central Election Commission (CEC) as of 00:21 on November 29 with 345,884 pre-vote news articles and social media posts to review 20 county and city races across Taiwan.
The evaluation proceeds on two levels. First, under the archived rule, an upset alert fired if a challenger exceeded the opponent in both online share of voice and net sentiment during the last two weeks before Taiwan's poll blackout (November 4 to November 17; the blackout covers the final 10 days before voting, when new polls may not be published). Taichung triggered no alert, while Taipei produced a false alarm. Second, looking back after the vote count, combining three factors (prior election results, whether the incumbent ran, and news volume during those two weeks) correctly called 16 of the 18 scored races and got Taichung's direction right. That formula was fitted after seeing the tally, however, and two of its three inputs (prior results and incumbency) fall outside online data, so it must be archived before voting in the next election to test.
Online data cannot replace polling. The workflow that holds up in hindsight and warrants pre-vote testing in the next election is to use polls as the primary benchmark and flag a warning whenever the poll average and the model point to different winners. Across 13 scored races with polls (14 polled jurisdictions minus undecided Hualien County), all 3 races where polls picked the wrong winner (Taichung, Taipei, and New Taipei) triggered a warning, though 2 of the 5 flagged races (Tainan and Hsinchu County) were cases where the model was wrong. Removing news volume from the model still flagged all 3 poll misses while adding only one false alarm in Taitung County. In Hsinchu County, the pan-green two-party vote share rose 24.8 percentage points over the previous election, and the news volume, social media post counts, and model used in this study did not detect that flip.
Rule saved before comparing
No alert
Taichung: needed the challenger ahead on volume and favorability; 2 of 6 flips caught, false alarm in Taipei
Pattern found afterwards
16 of 18
Last result + whether the incumbent ran + news share in the last two weeks; fitted after the count
Polls and model disagreed
5 warnings
Polls wrong in 3 (Taichung, Taipei, New Taipei); model wrong in 2 (Tainan, Hsinchu County)
Hsinchu County DPP gain
+24.8
Two-candidate share up 24.8 points; not identified by our online measures
The sections below define the data scope and metrics, then walk through the archived rule, the post-vote retrospective model, Taiwan's six special municipalities, the polling cross-check, and the Hsinchu County case.
Data scope and key terms
This analysis covers 20 of Taiwan's 22 counties and cities. Kinmen County is excluded from the main 20-race model because its 2022 winner was an independent with no party continuity to the two major 2026 candidates, and Lienchiang County is excluded because its online data volume was too small. Vote counts come from the CEC's preliminary tally as of 00:21 on November 29. Yunlin County and Hualien County are listed as undecided because the margin between the top two candidates was smaller than the number of invalid ballots; both enter model estimation but are excluded from win-loss scoring. Different sections therefore use distinct denominators: the archived rule includes Lienchiang County and excludes undecided Yunlin County and Hualien County (19 decided races); post-vote model scoring covers 18 races; and the polling comparison covers 13 races (14 polled jurisdictions minus Hualien County).
Online records come from InfoMiner's election tracker, which collected news articles and social media posts mentioning candidates in real time before voting. The main observation window runs from September 4 (the candidate registration deadline) through November 17 (the final day before the 10-day poll blackout), totaling 345,884 items, all ingested into the database before voting began on November 28. References to the "two-week pre-blackout window" throughout this report consistently denote November 4 to November 17, the last two weeks before the poll blackout, ending 11 days before election day.
Three core terms appear repeatedly in this analysis:
- Two-party vote share: Counts only the votes cast for the two major pan-blue and pan-green candidates, setting their combined total to 100%. In Taiwan's politics, the pan-blue camp is led by the Kuomintang (KMT) and here includes candidates backed by a KMT alliance with the Taiwan People's Party (TPP), while the pan-green camp is led by the Democratic Progressive Party (DPP); 2022 baselines use candidates from the same respective camps as in 2026. This measure simplifies comparisons between the two main contenders, though it cannot remove vote-splitting from third-party or independent candidates. Unless specified otherwise, figures in this article refer to the pan-green candidate's two-party share. In Taichung, for example, Ho Hsin-chun won 50.68% of the official vote; counting only her and Johnny Chiang, her two-party share was 51.2%.
- News volume and news share: News volume counts news articles collected by InfoMiner that mention a candidate, excluding social media posts, to gauge media exposure. News share divides the pan-green candidate's article count by the combined article total for the two major candidates.
- Sentiment tags: Automated labels generated directly by the InfoMiner system, indicating whether the text tone of an article or post leans positive or negative.
Two distinctions to keep in mind before reading
The archived rule in the next section reflects conditions written and committed to version control (git) on November 30, two days after voting and before comparing against the vote tally. The team already knew Taichung had flipped when writing the rule; archiving it first was meant to prevent revising the criteria after seeing the comparison results. Every pattern discussed after that, covering incumbency, news volume, and poll warnings, was assembled retrospectively after viewing the vote counts and cannot be treated as a successful prediction.
The rule we saved before the comparison missed Taichung
On November 30, InfoMiner Election Lab committed the signal definition, thresholds, and time window to git, ran the calculations, and saved the output table before comparing it with election results. Under this archived rule, an upset alert fired if the challenger (the 2026 candidate from the camp that lost in 2022) had both a higher online share of voice and a higher net sentiment than the opponent during the two-week pre-blackout window. Share of voice combines news and social media mentions, and net sentiment measures the difference between positive and negative shares.
Applied across the 19 decided races (including Lienchiang County and excluding undecided Yunlin County and Hualien County), 6 jurisdictions actually flipped parties: Taichung, Yilan County, Hsinchu County, Changhua County, Penghu County, and Chiayi City. The rule caught only Penghu County and Chiayi City, missing 4 flips including Taichung. Among the 13 races that did not flip, Taipei produced a false alarm. The table below summarizes the archived rule's outcomes.
We saved the rule before comparing it with the count
At 15:09 on Nov 30, 2026 (Taipei time), we committed the signal definitions, threshold and windows to version control (git commit 7815a84); the computed signal table followed at 15:14 (a60afb3), before any comparison with the count. There was one rule: if the challenger led on both share of mentions and net favorability in the last two weeks (Nov 4–17), the race got a flip alert.
| County/city | Volume share gap | Net favorability gap | Alert | Result |
|---|---|---|---|---|
| Taichung | +13.7 | -9.0 | No | Flipped |
| Penghu County | +25.0 | +14.1 | Yes | Flipped |
| Chiayi City | +19.0 | +7.4 | Yes | Flipped |
| Yilan County | -11.9 | +40.2 | No | Flipped |
| Hsinchu County | -11.9 | -21.1 | No | Flipped |
| Changhua County | -2.7 | +6.3 | No | Flipped |
| Taipei | +12.3 | +17.2 | Yes | Held |
Volume share gap: the challenger's share of mentions of the two candidates minus 50%, in points. Net favorability gap: (positive − negative) ÷ total for each candidate, challenger minus opponent, times 100. Both must be above zero for an alert. Of 19 settled races, 2 of 6 flips were caught and 1 of 13 holds got a false alarm (Taipei).
Separating the two components shows why Taichung did not trigger an alert. During the two-week pre-blackout window, Ho Hsin-chun drew 63.7% of combined mentions, 13.7 percentage points above 50% (share-of-voice margin +13.7), yet her net sentiment trailed Johnny Chiang's by 9.0 percentage points (net sentiment margin -9.0). Because only one of the two conditions was satisfied, no alert fired. Major pre-blackout polls also showed Johnny Chiang ahead, so neither source gave an early signal of a Taichung flip.
Tracking Taichung and Taipei week by week over the 10 weeks before the blackout highlights the contrast. In Taipei, Puma Shen exceeded Chiang Wan-an in both share of voice and net sentiment in all 10 consecutive weeks, meeting the upset alert threshold every single week. In the actual count, Chiang Wan-an won 53.72% of the official vote against Puma Shen's 45.69% (pan-green two-party share 46.0%). The chart below plots the 10-week trajectories of share of voice and net sentiment in Taichung and Taipei.
Solid line: volume share gap (the challenger's share of mentions of the two candidates minus 50%); dashed line: net favorability gap ((positive − negative) ÷ total for each candidate, challenger minus opponent); both in points, labeled by the last day of each week. Weeks with both lines above zero meet the alert condition.
Solid: volume share gap Dashed: net favorability gap
Splitting Taichung's two-week data into news articles and social media posts shows why combined net sentiment favored Johnny Chiang. The table below breaks down article and post counts alongside sentiment shares in Taichung.
| Source | Candidate | Items | Positive | Negative | Net |
|---|---|---|---|---|---|
| News | Johnny Chiang | 1,450 | 49.4% | 6.7% | +42.8 |
| News | Ho Hsin-chun | 2,555 | 26.8% | 12.9% | +13.9 |
| Social media | Johnny Chiang | 2,077 | 25.0% | 18.8% | +6.3 |
| Social media | Ho Hsin-chun | 3,628 | 26.9% | 15.8% | +11.1 |
Positive and negative are InfoMiner’s automatic labels. They reflect the tone of the content, not how the author would vote.
In news coverage, Johnny Chiang had 1,450 articles (49.4% positive, 6.7% negative; news net sentiment +42.8), while Ho Hsin-chun had 2,555 articles (26.8% positive, 12.9% negative; news net sentiment +13.9). On social media, Johnny Chiang had 2,077 posts (18.8% negative; social net sentiment +6.3), while Ho Hsin-chun had 3,628 posts (15.8% negative; social net sentiment +11.1). Including news lifted combined net sentiment for both candidates relative to social media alone, yet lifted Johnny Chiang's figure more, placing Ho Hsin-chun below him overall. A social-media-only version of the rule would have triggered in Taichung, though false alarms would have increased to 4 races (Taipei, Keelung, Miaoli County, and Hsinchu City). Because share of voice and sentiment alone could not capture Taichung, the team next reviewed all 20 races' vote tallies to find conditions that moved alongside vote-share shifts.
After the count, we looked for a pattern in prior results, incumbency, and news volume
After reviewing the vote counts across all 20 jurisdictions and testing several combinations, the research team retained a simple three-factor formula: prior election results, whether the incumbent ran, and news volume in the two-week pre-blackout window. The calculation has four steps:
- Start with the pan-green candidate's 2022 two-party vote share in that county or city as the baseline.
- Add a uniform 3.9 percentage points across every jurisdiction (exact coefficient 3.87) to reflect the overall 2026 shift toward the pan-green camp.
- Adjust for incumbency: make no adjustment if the incumbent ran for re-election; add 8.1 percentage points (coefficient 8.08) for the pan-green camp in KMT-held open seats where the incumbent did not run; subtract 8.1 percentage points in DPP-held open seats where the incumbent did not run. Encoding this as a single +1, 0, -1 variable assumes open-seat shifts have equal magnitude and opposite signs for both parties.
- Add news share from the two-week pre-blackout window: for every 10 percentage points that pan-green news share exceeded 50%, add about 1.6 percentage points (coefficient 16.39); subtract when it fell below 50%.
The step-by-step calculation for Taichung below traces how the estimate builds from the 2022 baseline to 2026.
| Step | DPP share (%) or adjustment (pts) |
|---|---|
| Tsai Chi-chang's two-candidate share in 2022 | 39.6 |
| Overall shift toward the DPP this time | +3.9 |
| Lu Shiow-yen term-limited; KMT-held seat | +8.1 |
| Ho Hsin-chun's share of news in the last two weeks: 64% (2,555 vs 1,450) | +2.3 |
| Total | 53.8 |
| Actual (two-candidate share) | 51.2 |
| Fitted on the other 19 races, then applied to Taichung | 54.2 |
Each item is rounded separately and the total uses unrounded numbers, so the rows may not add up exactly. The rule's numbers (+3.9 overall, ±8.1 for an open seat, +1.6 per 10 points of news share above half) were fitted on all 20 races. The last row is the leave-one-out check: Taichung is left out and the rule is refitted on the other 19.
In 2022, Tsai Chi-chang received 38.93% of the official vote, or 39.6% on a two-party basis. Adding the uniform 3.9 percentage-point shift and 8.1 percentage points for a KMT-held open seat (outgoing mayor Lu Shiow-yen was term-limited and could not run again) sets up the news adjustment. During the two-week pre-blackout window, Ho Hsin-chun had 2,555 news articles to Johnny Chiang's 1,450, or 64% of the two-candidate total (14 percentage points above 50%), adding 2.3 percentage points. Each component above is rounded; summed from unrounded figures, the estimate is 53.8%, matching the direction of Ho Hsin-chun's actual 50.68% official vote share and 51.2% two-party share.
Model performance was evaluated using leave-one-out cross-validation, dropping one county or city at a time, refitting the coefficients on the remaining races, and estimating the held-out race across all 20 jurisdictions. For Taichung, leave-one-out produces 54.2%, calling the winner correctly. Because the model specification and time window were chosen after viewing all vote results, leave-one-out still falls short of an independent predictive test.
Comparing this model side by side with two simpler baselines shows how much accuracy each factor added. Alongside the number of correct calls across the 18 scored races, the comparison tracks mean absolute error (the average unsigned gap between estimated and actual vote shares, showing how many percentage points estimates missed by on average). The table below summarizes all three approaches across the 18 scored races.
| Method | Right | Mean miss (pts) |
|---|---|---|
| Same camp as last time wins | 12 | — |
| Last result + whether the incumbent ran | 14 | 5.2 |
| … + news share in the last two weeks | 16 | 4.0 |
Mean miss: average absolute gap between the estimated and actual DPP two-candidate share. The last two rows are leave-one-out (each race is estimated from the other 19). With the model fixed, shuffling news share across races 2,000 times gave a mean miss of 4.01 points or less only twice; this check does not account for choosing the variable and time window after the count. Yunlin and Hualien are pending and not scored.
Predicting solely from prior results (assuming the 2022 winning camp wins again) called 12 of 18 races correctly. Adding incumbency raised accuracy to 14 of 18, with a mean absolute error of 5.2 percentage points. Adding two-week pre-blackout news volume brought the total to 16 of 18 correct calls and lowered mean absolute error to 4.0 percentage points.
The model missed two races: Tainan and Hsinchu County. In Taitung County, it called the winner correctly, yet estimated 49.7% against an actual pan-green two-party share of 37.2%, a gap of 12.5 percentage points. Three correctly called races had estimates within 1 percentage point of 50%: Taipei (49.7%), Taitung County (49.7%), and Chiayi City (50.6%). The team also checked for missing data and chance alignment. Penghu County candidate Wu Shu-chin had no recorded data in September and October, making news share unreliable; dropping Penghu County and recalculating yielded 15 of 17 correct calls, with Tainan and Hsinchu County still missed. Holding the model fixed and randomly shuffling news shares across counties and cities 2,000 times produced a mean absolute error of 4.01 percentage points or lower only twice. Because that check excludes post-hoc selection of variables and the time window, the true probability of a chance fit is higher.
Treating the 18 scored races as independent trials gives an idealized 95% confidence interval of roughly 67% to 97% for 16 correct calls. Because the time window and model form were selected after inspecting the vote counts, actual uncertainty is wider than this interval.
All six flips came in races where the incumbent did not run
Breaking down the model shows that the largest shift came from whether the incumbent ran. Grouping the 20 races into three categories by incumbency status reveals sharp differences in average pan-green two-party vote-share changes from 2022 to 2026.
| Group | Races | Mean DPP change (pts) | Flipped |
|---|---|---|---|
| KMT-held, incumbent not running | 9 | +12.5 | Taichung, Yilan County, Hsinchu County, Changhua County, Chiayi City |
| Incumbent running | 7 | +0.9 | — |
| DPP-held, incumbent not running | 4 | -5.3 | Penghu County |
All 20 races, including pending Yunlin and Hualien. Six of the 7 incumbents who ran were on the KMT side (five KMT members, plus Hsinchu City's Kao Hung-an, running as an independent backed by the KMT and TPP); only Pingtung's was DPP, so an incumbency effect cannot be separated from a camp effect; groups vary widely and these are only averages.
Across the 9 KMT-held open seats where the incumbent did not run, pan-green two-party share increased by an average of 12.5 percentage points over 2022. Across the 7 races where the incumbent ran, pan-green share edged up by an average of 0.9 percentage points. Across the 4 DPP-held open seats, pan-green share declined by an average of 5.3 percentage points. All 6 flips occurred in open seats: Taichung, Chiayi City, Yilan County, Hsinchu County, and Changhua County flipped from pan-blue to pan-green, while Penghu County flipped from pan-green to pan-blue.
Two caveats apply to these averages. First, among the 7 races where incumbents ran, 6 involved pan-blue incumbents (5 KMT members, plus Hsinchu City incumbent Kao Hung-an running as an independent backed by the KMT-TPP alliance), while only Pingtung County's Chou Chun-mi was a DPP incumbent. Data from a single election cannot separate incumbency from party-camp effects. Second, these figures are group averages; individual counties and cities within each group diverged widely, so incumbency status alone cannot decide winners.
News volume moved with the swing but pointed the wrong way in Taipei
Plotting all 20 races on a scatter chart puts two-week pre-blackout pan-green news share on the horizontal axis (further right indicates a larger pan-green share of the two major candidates' news coverage) and the change in pan-green two-party vote share from 2022 on the vertical axis, with colors marking incumbency status.
Each dot is one county or city. Further right means the DPP candidate had a larger share of the two candidates' news in that race; up means the DPP two-candidate share rose from 2022. Orange marks KMT-held seats with no incumbent running; most sit in the upper half. Filled dots flipped.
The points slope upward to the right: counties and cities where pan-green candidates captured a larger share of news coverage in the two-week window tended to record larger pan-green vote gains over 2022. The data cannot establish direction of influence, however. Greater media exposure may have raised candidate visibility among voters, or journalists may have devoted more reporting to local campaigns that were already gaining traction. News volume and vote shifts co-occurred, and causation cannot be inferred.
The team also tested splitting news articles by automated sentiment tag into positive, neutral, and negative subsets and entering each separately into the model. Positive news called 14 races correctly, neutral called 15, and negative called 16; no single tone outperformed total news volume. Taichung illustrates the problem: Ho Hsin-chun's negative news share was 12.9% compared with Johnny Chiang's 6.7%, so relying on tone alone would have pointed in the wrong direction.
News volume can also push estimates off course, as Taipei demonstrates. In the two-week pre-blackout window, Puma Shen drew 1,696 news articles compared with Chiang Wan-an's 938, yet Chiang Wan-an still won 53.72% of the official vote, leading Puma Shen's 45.69% by about 8 percentage points. The model got Taipei's winner right because of Chiang Wan-an's incumbency and the 2022 pan-blue baseline; news volume pushed the pan-green estimate in the opposite direction to 49.7%, 3.7 percentage points above the actual 46.0%.
How Taichung compares with the other special municipalities and Hsinchu County
Placing Taichung alongside Taiwan's other five special municipalities (Taipei, New Taipei, Taoyuan, Tainan, and Kaohsiung) and Hsinchu County illustrates where the formula held and where it missed. The table below lists incumbency status, two-week pre-blackout news volume, model estimates, and actual two-party vote shares.
| Race | Incumbent | News, last two weeks (DPP : KMT) | Estimated DPP | Actual DPP | Winner |
|---|---|---|---|---|---|
| Taichung | KMT-held, incumbent not running | 2,555 : 1,450 | 54.2 | 51.2 | Right |
| Taipei | Incumbent running | 1,696 : 938 | 49.7 | 46.0 | Right |
| New Taipei | KMT-held, incumbent not running | 1,056 : 2,323 | 46.1 | 48.5 | Right |
| Taoyuan | Incumbent running | 974 : 3,419 | 42.6 | 44.3 | Right |
| Tainan | DPP-held, incumbent not running | 499 : 621 | 46.2 | 54.0 | Wrong |
| Kaohsiung | DPP-held, incumbent not running | 954 : 1,651 | 52.5 | 53.6 | Right |
| Hsinchu County | KMT-held, incumbent not running | 766 : 1,732 | 39.9 | 58.7 | Wrong |
DPP two-candidate share (%). Estimates are leave-one-out (rule fitted on the other 19 races). News counts are InfoMiner news items mentioning each candidate, Nov 4–17.
Among the six special municipalities, the model called 5 correctly and missed only Tainan. Comparing New Taipei with Taichung highlights how the components interacted: both were KMT-held open seats, and New Taipei's pan-green two-party share rose 10.9 percentage points over 2022, close to Taichung's 11.5 percentage-point gain. New Taipei differed in its 2022 pan-green baseline (37.6%) and two-week news volume, where Lee Shu-chuan had 2,323 articles, more than double Su Chiao-hui's 1,056. Those two factors put the model's New Taipei estimate at 46.1%, against an actual 48.5%.
Taoyuan and Kaohsiung also matched the model's direction. In Taoyuan, incumbent Chang San-cheng sought re-election and pan-blue news volume led 3,419 articles to 974; the model estimated 42.6% for the pan-green camp against an actual 44.3%. In Kaohsiung, a DPP-held open seat where pan-blue news led 1,651 articles to 954, a stronger 2022 pan-green baseline kept the model estimate at 52.5%, compared with an actual 53.6%.
Tainan was the sole miss among the six special municipalities. In that DPP-held open seat, Hsieh Lung-chieh drew 621 news articles against Chen Ting-fei's 499 during the two-week window, pulling the model's pan-green estimate down to 46.2%. Chen Ting-fei won with a 54.0% two-party share. In news tone, Chen Ting-fei had a 5.0% negative share compared with 14.2% for Hsieh Lung-chieh.
We tried other measures but left them out of the model
Beyond those three inputs, the research team screened 663 candidate features one by one in the model, covering likes, shares, comments, mobilization keywords, and AI-inferred voter stance.
While some features raised accuracy by one extra race, computer-generated random number columns frequently achieved the same gain. When a script was restricted to the other 19 races, allowed to pick the single best-performing feature automatically, and then used to estimate the 20th race, mean absolute error worsened from 4.0 to 4.7 percentage points and correct calls dropped from 16 to 13, showing the overfitting risk of screening many variables on a small sample.
The team also fed sampled social media comments and posts into an open-weights AI model hosted on its own servers to classify user stance, computing a "neutral-to-green shift share" tracking which side accounts that had not declared a preference before October 21 later supported. A score of 0 denotes equal shifts toward each camp, positive values lean pan-green, and negative values lean pan-blue. This metric captures inferred expressions among sampled accounts and does not represent actual vote switching. Across the six special municipalities, its ranking matched actual pan-green vote gains except for Tainan and Taipei swapping places: Taichung +0.216 (pan-green gain +11.5), New Taipei +0.134 (+10.9), Tainan +0.079 (+1.2), Taipei 0.000 (+2.9), Taoyuan -0.030 (+0.8), and Kaohsiung -0.058 (-5.5).
Expanded to all 20 races, this AI metric proved unstable. Smaller counties yielded too few sampled accounts (Penghu County had only 1 account). Even within the 10 jurisdictions with sufficient accounts, the metric did not reach statistical significance after controlling for incumbency. Re-prompting the AI with different phrasing on the same post yielded an agreement rate of about 85% for consistent classifications on both candidates.
Automated sentiment tags also frequently diverged from voting stance. In a sample of social media posts about the four Taipei and Taichung candidates, 157 of 554 posts (28%) originally tagged negative by the system were classified by a separate AI model as supporting that candidate.
When polls and the model pick different winners, treat it as a warning
Because the model missed Tainan and Hsinchu County, the team added pre-election polls to evaluate how the two perform together.
The polling dataset includes surveys released from October 17 through November 17, combining primary-tier and reference-tier polls with equal weight per poll. Primary-tier surveys use live telephone interviewers, ask voting intention, and list the full slate of candidates; other surveys, such as online-sample polls, are classified as reference-tier. When the same sponsor released multiple polls during the window, equal weighting gave that sponsor a larger share. Fourteen of the 20 jurisdictions had published polls; excluding undecided Hualien County leaves 13 scored races.
The warning rule has one condition: raise a warning flag whenever the poll average and the model project different winners. A flag indicates disagreement between the two benchmarks and signals that one side may be wrong, prompting readers to review poll provenance and local race dynamics. Polls are not necessarily wrong, and the model is not necessarily right. This rule was devised after seeing the vote counts; it holds up in hindsight and warrants pre-vote testing in the next election. The chart below compares polls, model estimates, and actual results across the 13 races.
| Race | Polls | Poll avg | Model | Actual | Warning | Poll winner |
|---|---|---|---|---|---|---|
| Taipei | 14 | 50.8 | 49.7 | 46.0 | Yes | Wrong |
| New Taipei | 6 | 51.9 | 46.1 | 48.5 | Yes | Wrong |
| Taichung | 4 | 46.3 | 54.2 | 51.2 | Yes | Wrong |
| Tainan | 1 | 72.4 | 46.2 | 54.0 | Yes | Right |
| Hsinchu County | 5 | 53.2 | 39.9 | 58.7 | Yes | Right |
| Taoyuan | 3 | 44.9 | 42.6 | 44.3 | — | Right |
| Kaohsiung | 5 | 56.4 | 52.5 | 53.6 | — | Right |
| Keelung | 4 | 49.7 | 47.7 | 48.2 | — | Right |
| Yilan County | 1 | 50.7 | 55.6 | 54.8 | — | Right |
| Changhua County | 1 | 66.7 | 54.8 | 53.1 | — | Right |
| Taitung County | 2 | 43.4 | 49.7 | 37.2 | — | Right |
| Penghu County | 1 | 42.8 | 44.3 | 42.6 | — | Right |
| Hsinchu City | 2 | 44.5 | 43.9 | 40.9 | — | Right |
DPP two-candidate share (%). Polls: published Oct 17–Nov 17, main and secondary tiers, equal weight per poll. Model: last result + whether the incumbent ran + news share in the last two weeks (leave-one-out). A warning means the two pick different winners. Hualien is pending and not scored.
Polls alone called 10 of the 13 races correctly, missing Taichung, Taipei, and New Taipei. Under the warning rule, all 3 poll misses triggered a flag, and polls were right in all 8 unflagged races. Those two statements describe the same outcome, as no race saw both polls and the model pick the wrong winner. At the same time, 2 of the 5 flagged races (Tainan and Hsinchu County) were cases where the model was wrong and polls were right. Picking 5 of 13 races at random would capture all 3 poll misses roughly 3.5% of the time; because the model was finalized after viewing the results, that figure serves only as a reference benchmark rather than a formal statistical test.
Among the 5 flagged races, the model picked the right winner in Taichung (polls 46.3%, model 54.2%, actual 51.2%), Taipei (polls 50.8%, model 49.7%, actual 46.0%), and New Taipei (polls 51.9%, model 46.1%, actual 48.5%). The poll misses in Taipei (50.8%) and New Taipei (51.9%) sat close to 50%, and in Taipei the poll average and model differed by only 1.1 percentage points. In Tainan (polls 72.4%, model 46.2%, actual 54.0%) and Hsinchu County (polls 53.2%, model 39.9%, actual 58.7%), polls were right and the model was wrong. Mean absolute polling error was 7.4 percentage points across the 5 flagged races versus 4.1 percentage points across the 8 unflagged races, though Tainan drove most of the gap; removing Tainan narrows it to 4.6 versus 4.1 percentage points.
Checking poll sources in the flagged races reveals differing sponsorship patterns. Taichung had 4 polls between October 17 and November 17, 3 of which were commissioned by the Taichung City Council KMT caucus (KMT side). Tainan's most recent poll was released October 21 by Trend Polls (fieldwork October 13 to October 15) and commissioned by the Ketagalan Foundation (classified as a pan-green-affiliated group in the lab's polls review); it placed Chen Ting-fei at 59.4% and Hsieh Lung-chieh at 22.6% (72.4% two-party share, 18.4 percentage points from the actual 54.0%), and no new Tainan polls were found throughout November. In Hsinchu County, the 2 polls showing Cheng Chao-fang's widest leads were released on the same day, commissioned by Cheng Chao-fang's campaign office and conducted by Pi'ersen Shuju (DPP side). These details document poll provenance only and do not imply that sponsors influenced the findings.
Testing the warning rule under alternative settings
The team tested stability by altering poll date cutoffs, adjusting weights for repeated sponsors, removing news volume from the model, and testing a simple average of polls and model estimates.
| Variant | Scored | Warnings | Poll misses | Caught | Chance by luck | Polls right where no warning | Taichung warned |
|---|---|---|---|---|---|---|---|
| From Oct 17, main + secondary | 13 | 5 | 3 | 3 | 3.5% | 8/8 | Yes |
| From Oct 17, main only | 13 | 5 | 3 | 3 | 3.5% | 8/8 | Yes |
| From Oct 27, main + secondary | 11 | 4 | 3 | 3 | 2.4% | 7/7 | Yes |
| From Nov 4, main + secondary | 11 | 4 | 3 | 3 | 2.4% | 7/7 | Yes |
| From Sep 4, main + secondary | 13 | 5 | 3 | 3 | 3.5% | 8/8 | Yes |
| Average by commissioner first | 13 | 4 | 2 | 2 | 7.7% | 9/9 | No |
| Model without news share | 13 | 6 | 3 | 3 | 7.0% | 7/7 | Yes |
The first five rows share overlapping polls and the same model, so they are not independent tests. Chance by luck: probability that the same number of randomly chosen warnings catches at least as many poll misses; a reference only, since the model was chosen after the count. Which races the polls got wrong changes with the definition: Taichung, Taipei and New Taipei from Oct 17 or Sep 4 with both tiers; Taichung, Taipei and Keelung with main-tier polls only; Taichung, New Taipei and Keelung from Oct 27 or Nov 4. Only Taichung is always there. The Oct 27 and Nov 4 rows have no Tainan or Changhua polls, leaving 11 races. Averaging by commissioner first puts Taichung at about 50.003%, just above the 50% line, so it counts as a narrow DPP lead and no warning. Without news share the model adds a false warning in Taitung.
Across alternative poll subsets (primary-tier polls only from October 17, and all polls starting October 27, November 4, or September 4), every poll miss triggered a warning, and Taichung was flagged in every variant. Which races polls missed shifted with the definition: primary-tier polls alone missed Taichung, Taipei, and Keelung, while the October 27 and November 4 cutoffs missed Taichung, New Taipei, and Keelung (neither window contained polls for Tainan or Changhua County, leaving 11 scored races). Only Taichung appeared across all specifications. Because these subsets overlap and share the same model, they cannot serve as multiple independent validations.
Changing aggregation rules or the news time window weakened the pattern. Averaging multiple polls from the same sponsor first before computing the county or city average moved Taichung's poll average to about 50.003% (rounding to 50.0%, classified by the script as slightly pan-green because it exceeds 50%), matching the model's direction and removing the flag; the random-draw reference probability rose to 7.7%, showing how close Taichung sits to the threshold. Averaging by polling firm first left Taichung at 47.5%, matching the baseline finding.
Two of the model's three inputs (prior results and incumbency) fall outside online data. Dropping news volume and retaining only prior results and incumbency still flagged all 3 poll misses while adding just one false alarm in Taitung County (raising the random-draw reference probability to 7.0%). Putting news volume back lowered Taitung County's estimate from 50.6% to 49.7% (actual 37.2%), less than 1 percentage point below 50%, while pushing Taipei up from 45.5% to 49.7%. Shifting the news window to October 10 through November 13 pushed Taipei's estimate to 50.3%, clearing the flag and leaving only 2 of the 3 poll misses caught. The warning signal therefore comes mainly from prior results and incumbency, while the contribution of news volume is unstable.
A direct 50/50 average of polls and the model cut mean absolute error across the 13 races from 5.35 to 3.69 percentage points, yet 60% of that reduction came from Tainan alone, followed by Changhua County, both single-poll jurisdictions. Excluding Tainan and Changhua County shrank the error difference to 0.23 percentage points, sensitive to poll selection, and the 50/50 average put Taichung at 50.2%, barely 0.2 percentage points above half. Adjusting polls with a single online metric (sentiment, news volume, or neutral-to-green shift) performed similarly to a fixed bias adjustment using no online data and still missed Taichung. Direct averaging is not currently recommended.
Neither online data nor the model caught the Hsinchu County flip
Focusing solely on Taichung risks overstating what online news volume can capture. Hsinchu County provides the counterexample: the news volume, social media post counts, and model used in this study failed to identify this flip.
In the 2026 Hsinchu County magistrate race, DPP candidate Cheng Chao-fang won 174,384 votes to KMT candidate Hsu Hsin-ying's 122,785, leading by about 17 percentage points in official vote share. Pan-green two-party share reached 58.7%, up 24.8 percentage points from 2022, the largest jump across all 20 races. In the two-week pre-blackout online data, however, Hsu Hsin-ying drew 1,732 news articles to Cheng Chao-fang's 766; Cheng Chao-fang's negative news share (27.3%) also exceeded Hsu Hsin-ying's (14.6%); and social media post counts were close (953 versus 1,060 posts).
Estimating Hsinchu County via leave-one-out refits the coefficients on the other 19 races, shifting the adjustments from the full 20-race figures of 3.9 and 8.1: starting from Chou Chiang-chieh's 2022 two-party share of 33.8%, adding 3.6 percentage points for the overall shift and 6.5 percentage points for a KMT-held open seat (roughly +10.1 percentage points combined), and subtracting about 4.0 percentage points for news share yields 39.9%, 18.7 percentage points below the actual result.
Among the 5 polls released in the pre-blackout window, 2 showed Hsu Hsin-ying ahead (conducted by Guanjian Diaocha, released October 29 and November 12). The 2 showing Cheng Chao-fang's widest margins were released the same day, commissioned by Cheng Chao-fang's campaign office and conducted by Pi'ersen Shuju (DPP side), including one whose fieldwork ended on September 21. Again, this notes poll provenance without inferring sponsor influence. All 5 polls averaged 53.2% for Cheng Chao-fang, pointing to the actual winner (5.5 percentage points below the tally); primary-tier polls alone averaged 51.1%, also calling the winner correctly.
The table below compares 2022 and 2026 magistrate and district councilor vote totals in Hsinchu County to show how votes shifted between the two cycles.
| 2022 | 2026 | |
|---|---|---|
| DPP magistrate candidate | Chou Chiang-chieh 83,683 | Cheng Chao-fang 174,384 |
| KMT magistrate candidate | Yang Wen-ke (incumbent) 163,662 | Hsu Hsin-ying 122,785 |
| DPP regional council votes (share) | 35,102 (14.2%) | 59,826 (20.7%) |
| KMT regional council votes (share) | 111,263 (45.0%) | 128,863 (44.6%) |
| Turnout | 58.98% | 64.69% |
Council shares use total regional council votes (247,114 in 2022, 289,047 in 2026). These are totals; they cannot show whether the same voters split their tickets. 2026 figures are unofficial CEC counts.
Turnout in Hsinchu County rose from 58.98% in 2022 to 64.69% in 2026, with total district councilor votes up by about 42,000 and valid magistrate votes up by about 46,000. The two parties' changes differed between the two ballots. KMT district councilor votes increased from 111,263 (45.0%) to 128,863 (44.6%), up about 18,000, while KMT magistrate votes fell from incumbent Yang Wen-ke's 163,662 in 2022 to Hsu Hsin-ying's 122,785, down about 41,000 (roughly 75% of the prior total). DPP district councilor votes rose from 35,102 (14.2%) to 59,826 (20.7%), up about 25,000, while DPP magistrate votes more than doubled, from Chou Chiang-chieh's 83,683 to Cheng Chao-fang's 174,384. Overall, the KMT gained councilor votes while losing magistrate votes, whereas the DPP gained in both races with a much larger surge at the top of the ticket.
That contrast is consistent with candidate-level effects in the magistrate race, though countywide totals alone cannot prove the same voters split their tickets between magistrate and councilor ballots. Newly mobilized voters, four years of demographic change, or a low 2022 baseline left by incumbent Yang Wen-ke's landslide may all be contributing factors. Regardless of the underlying drivers, the news volume, social media post counts, and model used in this study did not identify this flip.
Conclusion
Under InfoMiner Election Lab's share-of-voice and sentiment rule archived after the count and before comparing with results, Taichung's 2026 mayoral flip could not be caught. Taichung triggered no alert during the two-week pre-blackout window, while in Taipei, Puma Shen led Chiang Wan-an in both metrics for 10 straight weeks and triggered an alert, yet Chiang Wan-an still won, producing a false alarm.
The post-vote combination (prior results, incumbency status, and two-week pre-blackout news volume) got Taichung's direction right, called 16 of 18 scored races, and called 5 of the 6 special municipalities. Because it was fitted after viewing the vote tally and two of its three variables fall outside online data, it cannot stand as proof of predictive power. It also missed Tainan and Hsinchu County, failing to detect Hsinchu County's 24.8 percentage-point pan-green surge in two-party vote share.
Treating polls as the primary benchmark and flagging disagreement between the poll average and the model over the projected winner holds up in hindsight and warrants prospective testing in the next election. Across 13 scored races with polls (14 minus Hualien County), all 3 poll misses (Taichung, Taipei, and New Taipei) triggered warnings, though 2 of the 5 flagged races (Tainan and Hsinchu County) were model errors, and dropping news volume still flagged all 3 poll misses while adding only one Taitung County false alarm. Archiving these rules before voting in the next election and checking them against the tally is the only way to test whether they can predict outcomes.
Methodology, limitations, and full dataset
The full 20-race table below lets readers inspect each county and city's actual two-party vote share, model estimate, news volume, and polling figures.
| Race | KMT-side / DPP | DPP 2022 | Incumbent | DPP news share, last two weeks | Model | Actual | Polls | Model winner |
|---|---|---|---|---|---|---|---|---|
| Taipei | Chiang Wan-an / Puma Shen | 43.0 | Incumbent running | 64.4 | 49.7 | 46.0 | 50.8 | Right |
| New Taipei | Lee Shu-chuan / Su Chiao-hui | 37.6 | KMT-held, incumbent not running | 31.3 | 46.1 | 48.5 | 51.9 | Right |
| Taoyuan | Chang San-cheng / Huang Shih-chieh | 43.5 | Incumbent running | 22.2 | 42.6 | 44.3 | 44.9 | Right |
| Taichung | Johnny Chiang / Ho Hsin-chun | 39.6 | KMT-held, incumbent not running | 63.8 | 54.2 | 51.2 | 46.3 | Right |
| Tainan | Hsieh Lung-chieh / Chen Ting-fei | 52.8 | DPP-held, incumbent not running | 44.6 | 46.2 | 54.0 | 72.4 | Wrong |
| Kaohsiung | Ko Chih-en / Lai Jui-lung | 59.1 | DPP-held, incumbent not running | 36.6 | 52.5 | 53.6 | 56.4 | Right |
| Keelung | Hsieh Kuo-liang / Tung Tzu-wei | 42.4 | Incumbent running | 59.0 | 47.7 | 48.2 | 49.7 | Right |
| Yilan County | Wu Tsung-hsien / Lin Kuo-chang | 44.8 | KMT-held, incumbent not running | 42.7 | 55.6 | 54.8 | 50.7 | Right |
| Hsinchu County | Hsu Hsin-ying / Cheng Chao-fang | 33.8 | KMT-held, incumbent not running | 30.7 | 39.9 | 58.7 | 53.2 | Wrong |
| Miaoli County | Chung Tung-chin / Chen Pin-an | 42.3 | Incumbent running | 19.2 | 41.5 | 37.8 | — | Right |
| Changhua County | Wei Ping-cheng / Chen Su-yueh | 42.5 | KMT-held, incumbent not running | 51.2 | 54.8 | 53.1 | 66.7 | Right |
| Nantou County | Hsu Shu-hua / Wen Shih-cheng | 43.3 | Incumbent running | 5.7 | 40.6 | 37.5 | — | Right |
| Yunlin County | Chang Chia-chun / Liu Chien-kuo | 42.4 | KMT-held, incumbent not running | 48.1 | 54.5 | 50.0 | — | Pending |
| Pingtung County | Su Ching-chuan / Chou Chun-mi | 51.3 | Incumbent running | 92.2 | 62.5 | 61.5 | — | Right |
| Taitung County | Wu Hsiu-hua / Chen Ying | 37.4 | KMT-held, incumbent not running | 44.2 | 49.7 | 37.2 | 43.4 | Right |
| Penghu County | Chen Chen-chung / Wu Shu-chin | 52.4 | DPP-held, incumbent not running | 24.5 | 44.3 | 42.6 | 42.8 | Right |
| Hsinchu City | Kao Hung-an / Chuang Ching-cheng | 44.2 | Incumbent running | 22.6 | 43.9 | 40.9 | 44.5 | Right |
| Chiayi City | Chang Chi-kai / Wang Mei-hui | 35.4 | KMT-held, incumbent not running | 75.8 | 50.6 | 55.8 | — | Right |
| Chiayi County | Wu Pin-jui / Tsai Yi-yu | 62.9 | DPP-held, incumbent not running | 36.4 | 56.5 | 55.9 | — | Right |
| Hualien County | Yu Shu-chen / Chang Chun | 33.1 | KMT-held, incumbent not running | 61.0 | 46.5 | 49.9 | 43.3 | Pending |
DPP two-candidate share (%). The KMT-side column includes KMT-TPP joint candidates; shares count only the two named candidates, and 2022 uses the two candidates from the same camps. Polls: average of main and secondary polls published Oct 17–Nov 17; a dash means none. Yunlin and Hualien margins are smaller than their invalid ballots and are pending.
Six limitations should be weighed when reading this retrospective review:
- Small sample size: The analysis covers a single election and 18 scored races, with only 3 poll misses; a single additional error shifts hit rates substantially.
- Post-hoc model selection risk: Outside the archived rule, all other rules, time windows, and model structures were chosen after seeing the vote counts, introducing circularity risk. Refitting coefficients via leave-one-out does not remove bias from selecting the model and window after the fact.
- Scope of news volume: Counts cover only media outlets indexed by InfoMiner; total article counts vary widely across counties and cities, and syndicated reposts of the same report are counted multiple times. The metric counts published articles and cannot be equated with voter support or actual audience reach.
- Limits of sentiment tagging: Automated tags reflect text tone rather than a user's voting decision; in a sample audit, 157 of 554 social media posts (28%) tagged negative by the system were judged by a separate AI model to support the candidate.
- Scope of the warning rule: Counties and cities with no published polls cannot use the poll-versus-model divergence check.
- Status of vote counts: All calculations use CEC preliminary vote counts as of 00:21 on November 29; Yunlin County and Hualien County are listed as undecided because the top-two margin was smaller than invalid ballots, and are excluded from win-loss scoring.
Data files and source lists used in this report are linked below for readers who wish to reproduce calculations or inspect race-by-race records.
Data and sources
Download: last result, incumbency, news share, model, polls and count for 20 races (CSV). The CSV uses Chinese names.
Sources: news and social media items collected in real time by InfoMiner (Election Lab database, all collected before voting began on Nov 28); CEC 2026 results pages (unofficial, as of 00:21 on Nov 29, Taipei time) and the 2022 election database; polls from our polls review. The rule saved before comparing is archived as git commits 7815a84 and a60afb3.