# Fully Heteroscedastic Count Regression with Deep Double Poisson Networks

깊은 이중 푸아송 네트워크를 이용한 완전 이분산 계수 회귀

Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · arXiv · 2024년 6월 13일

- **연구 문제** 카운트 회귀에서는 입력 의존적이고 제약 없는 분산을 표현하는 신경망 방법이 부족합니다. 기존 Poisson과 Negative Binomial 모델은 분산 제약 때문에 이를 제공하지 못합니다.
- **연구 방법** DDPN은 Double Poisson 분포의 평균과 역분산을 입력별로 출력하고, 그 손실을 최소화합니다. β-NLL 수정과 M개 모델의 균등 혼합 앙상블을 함께 사용합니다.
- **주요 결과** Length of Stay 앙상블에서 DDPN은 MAE 0.4850과 CRPS 0.361을 보고하며, Amazon Reviews OOD 실험에서는 β0.5-DDPN 앙상블이 AUROC 0.887을 보고합니다.

## 연속값 회귀의 이분산 불확실성과 카운트 회귀의 공백

카운트 데이터를 예측하는 신경망은 입력에 따라 불확실성이 달라지는 완전 이분산(full heteroscedasticity) 분포를 표현하기 어렵습니다. 연속값 회귀에서는 가우시안 앙상블이 입력 의존적 분산을 제약 없이 학습하여 에피스테믹 불확실성까지 안정적으로 추정하는 방법으로 자리 잡았습니다. 그러나 카운트 회귀에는 이에 상응하는 방법이 없었습니다.

기존 카운트 회귀는 두 가지 방식에 머물러 있습니다. Poisson 기반 모델은 평균과 분산이 같아야 하는 등분산(equi-dispersion) 제약을 가지며, Negative Binomial 기반 모델은 분산이 평균 이상이어야 하는 과분산(over-dispersion) 제약을 가집니다. 두 모델 모두 분산을 제약 없이 출력하지 못합니다. 가우시안 likelihood를 카운트에 그대로 쓰면 음수나 정수가 아닌 값에 확률 질량을 할당하는 문제가 생깁니다.

![Figure 5: Predictive CDFs from a β0.5-Gaussian (blue) and β0.5-DDPN (green) model on two test points from Length of Stay . Observed labels are marked with a ve…](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-02e2340bed1c2f51782279413a9f715c.png?thumb=512)

**Figure 5** : Predictive CDFs from a β0.5-Gaussian (blue) and β0.5-DDPN (green) model on two test points from Length of Stay . Observed labels are marked with a vertical dashed line. When y is discrete, Gaussian models’ pre- dictions suffer from having to assign probability mass to infeasible continuous values. DDPN is free from this con- straint.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

이 논문은 이 공백에서 출발하여, 이산 카운트 공간에서 완전 이분산을 갖는 Deep Double Poisson Network(DDPN)를 제안합니다. 논문은 Poisson과 Negative Binomial 회귀기는 완전 이분산이 아니라고 명제 2.3으로 밝히며, 이를 기존 방법의 구조적 한계로 제시합니다.

## Double Poisson 파라미터 출력과 DDPN 목적함수

DDPN은 입력 x\_i를 d차원 은닉 표현 z\_i로 변환한 뒤, 두 개의 아핀 변환으로 log(µ\_i)와 log(γ\_i)를 출력합니다. 분포는 Double Poisson이며, 평균 µ와 역분산 γ = 1/ϕ로 파라미터화됩니다. 논문은 Efron의 근사 E\[Z\] = µ와 Var\[Z\] = µ/γ를 사용하며, 이 근사는 증명과 완전 이분산 논증의 전제입니다. 따라서 분산은 µ/γ로서 γ를 통해 입력마다 달라질 수 있습니다.

학습은 Double Poisson의 음의 로그우도를 최소화하는 방식입니다. 목적함수 L\_i = −log(γ\_i)/2 + γ\_i µ\_i − γ\_i y\_i(1 + log µ\_i − log y\_i)에서 정규화 상수 c(µ,γ)는 1로 두어 생략합니다. 원문은 이 근사가 Efron과 Chow & Steenhard의 선행 설정을 따른다고 밝힙니다. 이 목적함수의 학습은 확률적 경사 하강 계열 옵티마이저로 수행됩니다.

논문은 이 목적함수가 학습 가능한 손실 감쇠(learnable loss attenuation) 성질을 가진다고 정의하고 증명합니다. 예측 분산 ϕ가 커지면 잔차 penalty의 기여가 줄어드는 구조이며, 이는 가우시안 NLL에서 알려진 성질과 유사합니다. 다만 이 성질은 조건부 정의에 따른 것이며 모든 모델이 자동으로 만족하는 것은 아닙니다.

## β 수정과 stop-gradient를 통한 손실 감쇠 조절

논문은 DDPN의 손실 감쇠가 예측 분산이 커질 때 평균 적합을 설명 없이 밀어내는 경향을 만든다고 지적합니다. 평균 µ에 대한 기울기 ∂L/∂µ = γ(1 − y/µ)에서 γ가 작으면 기울기가 0에 가까워져 평균이 충분히 맞춰지지 않을 수 있습니다. 이를 줄이기 위해 β-NLL은 분산항에 stop-gradient ⌊·⌋를 적용하고 γ의 지수를 β로 조절합니다.

![Figure 8: Results of training on a dataset with isolated points when we initialize γ for a standard DDPN model to a high value (via the initial bias in the out…](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-af345b6f81c1a194de4289d5da20b622.png?thumb=512)

**Figure 8** : Results of training on a dataset with isolated points when we initialize γ for a standard DDPN model to a high value (via the initial bias in the output head). Despite forcing low uncertainty at the beginning of training, the model still ignores difficult points and converges to a suboptimal solution. In fact, the smaller we force the uncertainty to be initially (through highγvalues), the worse our eventual fit is.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

β = 0이면 원래의 Double Poisson NLL과 같고, β = 1이면 평균 µ를 γ와 무관하게 맞추는 방향으로 기울어집니다. 따라서 β는 두 목적 사이를 보간하는 손잡이입니다. 논문은 β ∈ \[0,1\]로 실험했으며, β-DDPN은 이 수정을 적용한 변형입니다.

![Figure 6: The effect of β on the convergence of a DDPN during training, inspired by Fig. 2 of Stirn et al. (2023). Dotted lines indicate ground truth values of…](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-0236700291777594d282dbc966e4b63b.png?thumb=512)

**Figure 6** : The effect of β on the convergence of a DDPN during training, inspired by Fig. 2 of Stirn et al. (2023). Dotted lines indicate ground truth values of µ and γ respectively, while solid lines show the model’s learned distribution. Shaded regions illustrate training data coverage. With standard NLL ( β = 0), poor mean fit on the rightmost isolated point is “explained away” via high uncertainty (low values of γ), leading to subpar convergence. Increasing the value of β changes training priorities and allows the network to adequately model the mean without exploding uncertainty estimates. Higher values of β lead to faster convergence to the mean; when β= 0.5 , the mean is fit by epoch 800, but when β= 1.0 , the mean is fit by epoch 600.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Figure 9: Rerun of the experiment depicted in Figure 8 where we train with β1.0-NLL instead of vanilla NLL. Interestingly, we find thatβallows the model to rec…](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-7cd674c6dfe928df9620efc95c6478f0.png?thumb=512)

**Figure 9** : Rerun of the experiment depicted in Figure 8 where we train with β1.0-NLL instead of vanilla NLL. Interestingly, we find thatβallows the model to recover from poor weight initializations.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

## DDPN 앙상블과 불확실성 분해

DDPN 앙상블은 M개의 DDPN 예측 분포를 균등 혼합하여 구성합니다. 각 멤버는 서로 다른 초기화로 독립 학습되며, 예측 분포는 p(y\_i\|x\_i) = (1/M) Σ p(y\_i\|f\_Θm(x\_i))로 계산됩니다. 혼합 분포의 분산은 멤버 평균 분산 E\_m\[σ²\_m\]과 평균의 분산 Var\_m\[µ\_m\]의 합으로 분해됩니다. 논문은 앞의 항을 aleatoric, 뒤의 항을 epistemic 불확실성으로 해석합니다.

이 분해는 혼합 분포에서 나온 산술적 항등식이며, 어떤 불확실성이 실제로 올바른지는 실험과 보정 지표로 따로 확인해야 합니다. 논문은 실험에서 학습된 5개 모델을 그대로 결합합니다.

## 잘못 지정된 데이터 생성 과정에서의 회복 실험

첫 번째 검증은 DDPN이 가정과 다른 잡음 분포에서도 데이터 생성 분포를 복원하는지 확인합니다. 두 합성 과정은 Y\|X ~ Poisson(exp(X/2))와 Y\|X ~ NegBinom(X², 1/2)입니다. 각 데이터에서 DDPN과 해당 잡음 분포에 맞춘 DNN을 비교합니다.

논문 그림 3에서 DDPN의 MAE와 CRPS는 맞춘 기준 모델과 같은 수준이거나 더 좋게 보고됩니다. 이 결과는 합성 설정에서의 관찰이며 실제 데이터 전반에 대한 일반 결론은 아닙니다.

## 실제 데이터 벤치마크와 Length of Stay 앙상블 결과

실험은 Length of Stay(표 형식), COCO-People(이미지), Inventory(포인트 클라우드), Amazon Reviews(텍스트) 네 데이터셋에서 수행됩니다. 백본은 데이터셋마다 다르며, 표 형식 데이터에는 MLP, 이미지에는 ViT-B-16, 포인트 클라우드에는 CountNet3D, 텍스트에는 DistilBERT 기반 구성이 사용됩니다. 이 대응은 해당 실험의 설정이며 모든 입력에 공통인 구조가 아닙니다.

![Table 1: Summary of datasets used, along with their corre- sponding backbones](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-390f421160bd7dd035fb8a76049f3c4a.png?thumb=512)

**Table 1** : Summary of datasets used, along with their corre- sponding backbones.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Figure 32: Example point cloud from Inventory. Each green box represents an inventory slot which is segmented into a point beam (see Jenkins et al. (2023) for…](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-875bc613c43d0fefc0314ffeae4951bf.png?thumb=512)

**Figure 32** : Example point cloud from Inventory. Each green box represents an inventory slot which is segmented into a point beam (see Jenkins et al. (2023) for details and further examples). Models predict the product count within each point beam.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 33쪽에서 그림 영역을 추출했습니다.

Length of Stay의 앙상블 실험(표 2 기준, 불확실성 분해를 포함한 DEs 결과)에서 DDPN ensemble은 MAE 0.4850, CRPS 0.361을 보고합니다. 이 비교에서 각 기법은 5개 모델을 학습하고 같은 5개 모델을 결합하며, 검증 손실이 가장 낮은 모델을 테스트 분할에서 평가합니다. 본문의 다른 비교군 수치는 같은 데이터셋 내 조건에서만 읽어야 합니다.

![Table 2: Results across four datasets of differing modalities: Length of Stay (tabular), COCO-People (image), Inventory (point cloud), and Amazon Reviews (lang…](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-6e8186c4b2b86dcecccb2626bd7609bc.png?thumb=512)

**Table 2** : Results across four datasets of differing modalities: Length of Stay (tabular), COCO-People (image), Inventory (point cloud), and Amazon Reviews (language). We denote the best performer in each subgroup (aleatoric only vs. aleatoric + epistemic) inboldand the second-best with an underline. In each case, DDPN outperforms all baselines in terms of MAE and CRPS, achieving a new state-of-the-art on count regression tasks.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## Amazon Reviews의 OOD 탐지 결과

OOD 실험은 ID 데이터로 Amazon Reviews를, OOD 데이터로 King James Version 성경 구절을 사용합니다. OOD 점수는 앙상블의 총 분산이며, 임계값 τ\_α는 ID 홀드아웃의 (1 − α) 분위수로 정해집니다. α를 0부터 1까지 바꾸고, 홀드아웃을 매 반복마다 다시 샘플링하여 10회 반복한 평균과 표준편차를 보고합니다.

β0.5-DDPN 앙상블은 AUROC 0.887(0.001)을 보고하며, 이는 같은 실험 표에서 비교군보다 높습니다. 다만 이 OOD 실험은 한 데이터셋과 한 과제에서만 수행되었다고 원문이 한계로 밝힙니다.

![Table 3: OOD detection results. We denote the best performer for each metric inboldand the second-best underlined](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7/figures/figure-e9464efbd27867f34dfd9dd8fe585278.png?thumb=512)

**Table 3** : OOD detection results. We denote the best performer for each metric inboldand the second-best underlined.

[원문](https://arxiv.org/abs/2406.09262v5) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei · Fully Heteroscedastic Count Regression with Deep Double Poisson Networks · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 근사의 범위와 이후 검증 과제

DDPN의 이론과 실험은 Efron의 moment 근사에 기대고 있습니다. 부록 A.3은 이 근사가 대부분의 평균과 분산 영역에서 오차가 거의 0에 가깝다고 보이지만, 평균이 매우 작고 분산이 큰 조건에서는 오차가 커질 수 있다고 밝힙니다. 따라서 완전 이분산 논증은 근사가 성립하는 조건에서 읽어야 합니다.

또한 원문은 매우 큰 카운트 영역에서 가우시안이 좋은 근사가 될 수 있어 DDPN의 이점이 줄 수 있다고 보고, 고빈도 카운트의 행동은 다루지 않았다고 밝힙니다. OOD 실험은 하나의 데이터셋과 과제에 한정되어 있으며, 다른 카운트 회귀 과제에서의 OOD 특성은 후속 연구가 필요합니다.

## 논문 정보

- **저자**: Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 6월 13일
- **등록일**: 2026년 10월 30일
- **수정일**: 2025년 10월 1일
- **버전**: v5
- **arXiv**: 2406.09262
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2406.09262v5) · [원문 PDF ↗](https://arxiv.org/pdf/2406.09262v5)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Neural networks capable of accurate, input-conditional uncertainty representation are essential for real-world AI systems. Deep ensembles of Gaussian networks have proven highly effective for continuous regression due to their ability to flexibly represent aleatoric uncertainty via unrestricted heteroscedastic variance, which in turn enables accurate epistemic uncertainty estimation. However, no analogous approach exists for count regression, despite many important applications. To address this gap, we propose the Deep Double Poisson Network (DDPN), a novel neural discrete count regression model that outputs the parameters of the Double Poisson distribution, enabling arbitrarily high or low predictive aleatoric uncertainty for count data and improving epistemic uncertainty estimation when ensembled. We formalize and prove that DDPN exhibits robust regression properties similar to heteroscedastic Gaussian models via learnable loss attenuation, and introduce a simple loss modification to control this behavior. Experiments on diverse datasets demonstrate that DDPN outperforms current baselines in accuracy, calibration, and out-of-distribution detection, establishing a new state-of-the-art in deep count regression.

## 원문 인용

Spencer Young, Porter Jenkins, Longchao Da, Jeff Dotson, Hua Wei (2024). Fully Heteroscedastic Count Regression with Deep Double Poisson Networks. arXiv:2406.09262v5. https://arxiv.org/abs/2406.09262v5

**BibTeX**

```
@misc{young2024fully,
  title = {{Fully Heteroscedastic Count Regression with Deep Double Poisson Networks}},
  author = {Spencer Young and Porter Jenkins and Longchao Da and Jeff Dotson and Hua Wei},
  year = {2024},
  eprint = {2406.09262},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.09262v5}
}
```

## 이 논문의 용어

- [AUROC](https://refivu.com/terms/096f06e69425-auroc)
- [mean absolute error](https://refivu.com/terms/2117321fb36f-mean-absolute-error)
- [Amazon Reviews](https://refivu.com/terms/25c3bcba130c-amazon-reviews)
- [Continuous Ranked Probability Score](https://refivu.com/terms/8a9caff061cf-continuous-ranked-probability-score)
- [Length of Stay](https://refivu.com/terms/b4ea6dfc0e88-length-of-stay)

## 다른 논문 해설

- [Log Neural Controlled Differential Equations: The Lie Brackets Make a Difference](https://refivu.com/papers/b0189c51-3e6b-4a2d-b5e4-d6cc22afeba1-log-neural-controlled-differential-equations-the-lie.md)
- [Equivariant Polynomial Functional Networks](https://refivu.com/papers/62e8d3ec-3587-4797-8b59-d87e911135ae-equivariant-polynomial-functional-networks.md)
- [A model of errors in transformers](https://refivu.com/papers/1bc4b191-443f-4981-b9cc-cc08cedf2eca-a-model-of-errors-in-transformers.md)
- [Signature-Informed Transformer for Asset Allocation](https://refivu.com/papers/9ab31be3-54ab-4ad7-bf83-8131228f39af-signature-informed-transformer-for-asset-allocation.md)
- [PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training](https://refivu.com/papers/992e9cc0-6d5a-46ce-a43c-f980e78790bc-prism-distribution-free-adaptive-computation-of-matrix.md)
- [Equivariant Neural Networks for General Linear Symmetries on Lie Algebras](https://refivu.com/papers/f35fcd6d-d372-43a2-8452-f1ce7c9aeb9d-equivariant-neural-networks-for-general-linear-symmetries-on.md)
- [TopInG: Topologically Interpretable Graph Learning via Persistent Rationale Filtration](https://refivu.com/papers/62e7617c-071a-4787-8fe7-3a1a838e533a-toping-topologically-interpretable-graph-learning-via.md)
- [Exponential Family Variational Flow Matching for Tabular Data Generation](https://refivu.com/papers/50f71a00-76bc-4982-b4dc-ac829f6ecc4b-exponential-family-variational-flow-matching-for-tabular.md)
- [NorMuon: Making Muon more efficient and scalable](https://refivu.com/papers/350de3a2-cf61-41a3-b49f-62f33c8bf1de-normuon-making-muon-more-efficient-and-scalable.md)
- [Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning](https://refivu.com/papers/9f9c6795-22f1-4c20-8d20-e7e4cd83a65d-invariance-makes-llm-unlearning-resilient-even-to.md)
- [CauchyNet: Compact and Data-Efficient Learning using Holomorphic Activation Functions](https://refivu.com/papers/4a1f76c6-dfc7-4204-a0c6-234f217002c6-cauchynet-compact-and-data-efficient-learning-using.md)
- [Detecting and Filtering Unsafe Training Data via Data Attribution with Denoised Representation](https://refivu.com/papers/19b0f506-6f9d-4b56-afe9-93df054de350-detecting-and-filtering-unsafe-training-data-via-data.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/f7acecd4-0bd7-415b-8bbb-2be220fcb0f7-fully-heteroscedastic-count-regression-with-deep-double)
